package com.itheima.question.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.PageVo;
import com.itheima.admin.dto.PageDto;
import com.itheima.question.dto.QuestionDto;
import com.itheima.question.pojo.Question;
import com.itheima.question.vo.QuestionPageVo;
import com.itheima.question.vo.QuestionVo;

public interface IQuestionService extends IService<Question> {
    boolean addQuestion(QuestionDto questionDto);

    PageVo<QuestionPageVo> queryByPage(PageDto pageDto);

    QuestionVo queryById(String id);
}
